package sweet_heart;

import java.util.TreeSet;

public class CommonPart {
    //
    private TreeSet<Integer> secondSet = new TreeSet<Integer>();
    private TreeSet<Integer> minuteSet = new TreeSet<Integer>();
    private TreeSet<Integer> hourSet = new TreeSet<Integer>();

    public CommonPart(TreeSet<Integer> secondSet, TreeSet<Integer> minuteSet, TreeSet<Integer> hourSet) {
        this.secondSet = secondSet;
        this.minuteSet = minuteSet;
        this.hourSet = hourSet;
    }

    public TreeSet getSecondSet() {
        return secondSet;
    }

    public void setSecondSet(TreeSet secondSet) {
        this.secondSet = secondSet;
    }

    public TreeSet getMinuteSet() {
        return minuteSet;
    }

    public void setMinuteSet(TreeSet minuteSet) {
        this.minuteSet = minuteSet;
    }

    public TreeSet getHourSet() {
        return hourSet;
    }

    public void setHourSet(TreeSet hourSet) {
        this.hourSet = hourSet;
    }
}
